/**
 * Created by win7 on 2017/6/22.
 */

module.exports = function getConfig(outDist){
    var build = outDist;
    var config = {
        js:{
            all:'src/**/*.js',
            hint:'src/static/js/**/*.js',
        },
        html:{
            all:'src/**/*.html',
        },
        css:{
            all:'src/**/*.css',
        },
        less:{
            compile:'src/static/css/*.less',
            dest:build + '/static/css/',
        },
        rev:{
            js:build + '/static/rev/js/',
            css:build + '/static/rev/css/',
            less_css:build + '/static/rev/less_css/',
            revJson:build + '/static/rev/**/*.json',
            buildHtml:build +'/**/*.html',
        },
        build:build,
    }
    return config;
};